#ifndef __I2C_MODEL_H
#define __I2C_MODEL_H
#include "stm32f10x.h"                  // Device header
#include "Delay.h"

void I2C_ModelInit(void);

void I2C_ModelStart(void);
void I2C_ModelStop(void);
void I2C_ModelSendData(uint8_t data);
uint8_t I2C_ModelReceiveData(void);
void I2C_ModelSendAck(uint8_t ack);
uint8_t I2C_ModelReceiveAck(void);

#endif
